package com.org.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.org.dao.IMemberDao;
import com.org.model.Member;
import com.org.service.IMemberService;

@Service
public class MemberServiceImpl implements IMemberService {

	@Autowired
	private IMemberDao memberDao;
 
	@Override
	public Member getMemberByUsername(String username) {
		return memberDao.getMemberByUsername(username);
	}

	@Override
	public boolean getVerifyMember(String username, String password) {
		return memberDao.getVerifyMember(username, password);
	}


	@Override
	public Integer update(Member loginMember) {
		return memberDao.update(loginMember);
	}
	 

}
